package cn.bdqn.pojo;

import java.util.Date;


//回答
public class Workorder {
        private Long id;    //工单编号;使用序列或自动增,长属性赋值
        private Long projectId; //项目编号;对应项目表的主键
        private String executor;    //执行人
        private String description; //任务描述
        private Long orderLevel;    //工单级别;有3个值:1-1 级;2-2 级;3-3 级
        private String createDate;    //创建时间
        public Long getId() {
                return id;
        }
        public void setId(Long id) {
                this.id = id;
        }
        public Long getProjectId() {
                return projectId;
        }
        public void setProjectId(Long projectId) {
                this.projectId = projectId;
        }
        public String getExecutor() {
                return executor;
        }
        public void setExecutor(String executor) {
                this.executor = executor;
        }
        public String getDescription() {
                return description;
        }
        public void setDescription(String description) {
                this.description = description;
        }
        public Long getOrderLevel() {
                return orderLevel;
        }
        public void setOrderLevel(Long orderLevel) {
                this.orderLevel = orderLevel;
        }
        public String getCreateDate() {
                return createDate;
        }
        public void setCreateDate(String string) {
                this.createDate = string;
        }
        @Override
        public String toString() {
                return "Workorder [id=" + id + ", projectId=" + projectId
                                + ", executor=" + executor + ", description="
                                + description + ", orderLevel=" + orderLevel
                                + ", createDate=" + createDate + "]";
        }
        
}
